import request from '@/common/utils/request'

export function getTestWorkloadList(data) {
  return request({
    url: 'test-workload/list',
    method: 'post',
    data
  })
}

export function getTestUserList(data) {
  return request({
    url: 'test-workload/user-list',
    method: 'post',
    data
  })
}

export function getTestWorkTypeList(data) {
  return request({
    url: 'test-garage-cost/work-type-list',
    method: 'post',
    data
  })
}

export function getTestorderList(data) {
  return request({
    url: 'test-workload/order-list',
    method: 'post',
    data
  })
}

export function addTestWorkload(data) {
  return request({
    url: 'test-workload/add',
    method: 'post',
    data
  })
}

export function updateTestWorkload(data) {
  return request({
    url: 'test-workload/update',
    method: 'post',
    data
  })
}

export function deleteTestWorkload(data) {
  return request({
    url: 'test-workload/delete',
    method: 'post',
    data
  })
}
